package zsm;

public class Singleton{  
	protected Singleton() {
  }

  static Singleton _instance;
public static int a=1;
  public static Singleton instance() {
     if(null == _instance) {
        _instance = new Singleton();
     }
     return _instance;
  }
  public int dodaj_(){
	  return a++;
  }
  
}
